home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / octa209s.zip / octave-2.09 / liboctave / MArray-misc.cc < prev    next >
C/C++ Source or Header  |  1996-10-12  |  1KB  |  53 lines

  1. /*
  2.  
  3. Copyright (C) 1996 John W. Eaton
  4.  
  5. This file is part of Octave.
  6.  
  7. Octave is free software; you can redistribute it and/or modify it
  8. under the terms of the GNU General Public License as published by the
  9. Free Software Foundation; either version 2, or (at your option) any
  10. later version.
  11.  
  12. Octave is distributed in the hope that it will be useful, but WITHOUT
  13. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  14. FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  15. for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with Octave; see the file COPYING.  If not, write to the Free
  19. Software Foundation, 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  20.  
  21. */
  22.  
  23. #ifdef HAVE_CONFIG_H
  24. #include <config.h>
  25. #endif
  26.  
  27. #include "MArray.h"
  28. #include "MArray2.h"
  29. #include "lo-error.h"
  30.  
  31. void
  32. gripe_nonconformant (const char *op, int op1_len, int op2_len)
  33. {
  34.   (*current_liboctave_error_handler)
  35.     ("%s: nonconformant arguments (op1 len: %d, op2 len: %d)",
  36.      op, op1_len, op2_len);
  37. }
  38.  
  39. void
  40. gripe_nonconformant (const char *op, int op1_nr, int op1_nc,
  41.              int op2_nr, int op2_nc)
  42. {
  43.   (*current_liboctave_error_handler)
  44.     ("%s: nonconformant arguments (op1 is %dx%d, op2 is %dx%d)",
  45.      op, op1_nr, op1_nc, op2_nr, op2_nc);
  46. }
  47.  
  48. /*
  49. ;;; Local Variables: ***
  50. ;;; mode: C++ ***
  51. ;;; End: ***
  52. */
  53.